﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/3Column.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent3Column" runat="server">
    Log On
</asp:Content>
<asp:Content ID="leftContent" ContentPlaceHolderID="LeftContent" runat="server"></asp:Content>
<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Log On</h2>
    <p>
        Please enter your username and password. <%= Html.ActionLink("Register", "Register") %> if you don't have an account.
    </p>
    <span style="color:Red; font-weight:bold;"><%= Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.") %></span>
    <% using (Html.BeginForm()) { %>
            <fieldset>
                <legend>Account Information</legend>
                <p>
                    <label for="username">Username:</label>
                    <%= Html.TextBox("username") %>
                    <%= Html.ValidationMessage("username") %>
                </p>
                <p>
                    <label for="password">Password:</label>
                    <%= Html.Password("password") %>
                    <%= Html.ValidationMessage("password") %>
                </p>
                <p>
                    <%= Html.CheckBox("rememberMe") %> <label for="rememberMe">Remember me?</label>
                </p>
                <p>
                    <input type="submit" value="Log On" />
                </p>
            </fieldset><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
    <% } %>
</asp:Content>
<asp:Content ID="rightContent" ContentPlaceHolderID="RightContent" runat="server"></asp:Content>
